@charset "utf-8";

@import 'cm-scss';

//头部
a{
    color:#000000;
}

header {
    //      position: relative;
    line-height: halfRatio(150);
    
    .head-logo {
        margin-left: halfRatio(23);
        img {
            width: halfRatio(123);
            height: halfRatio(123);
            vertical-align: middle;
        }
    }
    .searchBar {
        border: 1px solid $theme-color;
        border-radius: halfRatio(34);
        width: toRem(266);
        height: halfRatio(56);
        line-height: halfRatio(56);
        font-size: 0;
        margin: 0 auto;
        margin-top: halfRatio(150)/2 - halfRatio(56)/2;
        padding-left: halfRatio(24);
        input[type=text] {
            width: toRem(184);
            height: halfRatio(30);
            vertical-align: middle;
            border: 0px;
        }
        input[type=image] {
            width: halfRatio(40);
            //          margin-left: 16px;
            //          height: halfRatio(34);
            vertical-align: middle;
        }
    }
    .area-set {
        margin-right: halfRatio(23);
        position: relative;
        width: halfRatio(163);
        height: halfRatio(60);
        vertical-align: middle;
        &:before {
            content: '';
            display: block;
            position: absolute;
            bottom: -20px;
            right: 5px;
            width: 0px;
            border-top: 10px solid $theme-color;
            border-right: 10px solid transparent;
            border-left: 10px solid transparent;
            pointer-events: none;
        }
        select {
            vertical-align: middle;
            width: halfRatio(164);
            height: 100%;
            border: 1px solid $theme-color;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            padding-left: halfRatio(10);
            background: transparent;
        }
    }
}

//内容
section {
//  background-color: green;
    
    .swiper-container{
        width: 100%;
        img{
            width: 100%;
            overflow: hidden;
        }
    }
    
    
    .active{
        
        
        
        .img-group{
            font-size: 0;
            
            .img-box{
                float: left;
                box-sizing: border-box;
                width: 50%;
                height: toRem(130);
                padding: toRem(14) toRem(66);   
                img{
                    
                    width: 100%;
                    
                    vertical-align: top;
                    
                } 
            }
            
            
        }
        
        
    }
    
    
    .theme{
    //标题样式 重用
        margin-bottom: halfRatio(30);
            .t-des{
                
                
                display: inline-block;
                line-height: toRem(56);
                img,span{
                    vertical-align: middle;
                }
                
                
                img{
                    width: toRem(56);
                    
                }
                
                span{
                    font-size: toRem(30);
                }
            }
            
            
            .more{
                
                display: inline-block;
                float: right;
                line-height: toRem(56);
                vertical-align: middle;
                img,span,a{
                    vertical-align: middle;
                }
                a{
                    color: black;
                    font-size: toRem(24);
                    display: inline-block;
                   
                }
                img{
                    width: toRem(26);
                }
                
            }
            
        }
    
    .shop-des{
        .shop-list{
            .shop-info{
              width: 80%;  
              float: left;
              display: inline-block;
                  .shop-img{
                        float: left;   
                        width: toRem(212);
                        img{
                            width: 100%;    
                        }
                  }   
                  .shop-msg{
                      float: left;
                      width: toRem(280);
                      font-size: toRem(30);
                      margin: toRem(12) 0 toRem(12) toRem(20) ;
                      &:nth-of-type(2){
                        font-size: toRem(22);
                        color: $des-color;
                      }
                      &:nth-of-type(3){
                        font-size: toRem(32);
                        color: $theme-color;
                      }
                  }
                  
                  
            }
            
            
            .shop-data{
                width: 20%;
                display: inline-block;
                float: right;
                p{
                    
                    text-align: right;
                    font-size: toRem(22);
                    color: $des-color;
                    &:nth-of-type(1){
                         margin: toRem(16)  0 toRem(86);
                    }
                }
            }
        }        
        
    }
}